package com.crm.dao;

import java.util.List;
import java.util.Map;

import com.crm.pojo.Customer;
import com.crm.pojo.PageInfo;

public interface CustomerDao {
	List<Map> queryDict(String id);
	int insertCustomer(Customer customer);
	List<Map> queryCustomer(String custName);
	List<Map> queryCustomer();
	int insertCustomerDetail(Integer custId,Customer customer);
	PageInfo queryCustomer(String custName, Integer pageSize, Integer pageNumber);
	int deleteCustomer(Integer custId);
	List<Map> quertCustomerByCustId(Integer custId);
	int updateCustomer(Customer customer);
	int updateCustomerDetail(Customer customer);
	
}
